package au.com.handsunited.dao;

import java.util.List;

import au.com.handsunited.model.BaseEntity;
import au.com.handsunited.model.message.Message;
import au.com.handsunited.model.message.MessageBoard;

/**
 * @author arunda
 *
 */
public interface MessageDAO extends GenericDAO<Message, Long> {


	/**
	 *
	 * @param poster
	 * @return
	 */
	List<Message> findAllMessagesByPoster(BaseEntity poster);


	/**
	 *
	 * @param messageBoard
	 * @return
	 */
	MessageBoard updateMessageBoard(MessageBoard messageBoard);

}
